Grid View is a spreadsheet-like view showing documents and fields as rows and columns. The navigation bar allows you to switch the documents quickly, insert or delete documents.
To add a document using the grid
Click on an existing document and click
from the navigation bar or press COMMAND-+ to get a blank display for a document.
Enter the desired data.
Watch the graphics symbol in the document selectors box just to the left of your document. It will change from
, which indicates that it is the current document, to
, which indicates that you are editing this document.
Just simply move to another document to save the document or click
from the navigation bar.
Note: If your collection is empty, a window will pop up for you to add documents.
To add a document using the pop-up window
Control-click the grid and select Add Document.
Write the document in the pop-up window.
Click Validate to ensure the document is correct.
Click Save.
To edit a document using the grid
Select the document that you wish to edit by clicking in the specific cell you want to change.
Type in the new data for that cell.
Just simply move to another document or click
from the navigation bar, the new data will overwrite the previous data.
To edit a document using the pop-up window
Control-click the document that you wish to edit and select Edit Document.
Edit the document in the pop-up window.
Click Validate to ensure the document is correct.
Click Save.
Note: Close the collection is another way to save the documents.
To delete a document
Select the document that you wish to delete.
Just simply control-click and select Delete Document or click
from the navigation bar.
To set the cell value to an empty string or NULL, click on a cell to enter edit mode, and then control-click the cell and select Set to Empty String or Set to NULL.
To edit a DateTime data, just simply click
to open the editor for editing. Choose/enter the desired data.
To change the type of a cell value, click on a cell to enter edit mode, and then control-click the cell and select Value Type. Then, select the desired type.
Data that being copied from Navicat goes into the clipboard with the fields delimited by tabs and the documents delimited by carriage returns. It allows you to easily paste the clipboard contents into any application you want. Spreadsheet applications in general will notice the tab character between the fields and will neatly separate the clipboard data into rows and columns.
To select data using keyboard shortcuts
COMMAND-A |
Toggle the selection of all rows and columns in the data grid. |
SHIFT-UP ARROW |
Toggle the selection of rows as you move up in the data grid. |
SHIFT-DOWN ARROW |
Toggle the selection of rows in the data grid as you move down. |
To select data using mouse actions
Select the desired documents by holding down the COMMAND key while clicking on each row.
Select range of documents by clicking the first row you want to select and holding down the SHIFT key together with moving your cursor to the last row you wish to select.
Note: After you have selected the desired documents, just simply press COMMAND-C or choose Edit -> Copy.
Data are copied into the clipboard will be arranged as below format:
Data are arranged into rows and column.
Rows and columns are delimited by carriage returns/tab respectively.
Columns in the clipboard have the same sequence as the columns in the data grid you have selected.
When pasting data into Navicat, you can replace the contents of current documents and append the clipboard data into the collection. To replace the contents of current documents in a collection, you must select the rows in the data grid whose contents must be replaced by the data in the clipboard. Just simply press COMMAND-V or choose Edit -> Paste. Navicat will paste all the content in the clipboard into the selected rows. The paste action cannot be undone if you do not enable transaction.
To copy field names as tab separated values, control-click the selected fields/documents and select Copy As -> Tab Separated Values (Field Name only). If you want to copy data only or both field names and data, you can choose Tab Separated Values (Data only) or Tab Separated Values (Field Name and Data) respectively.
Use either of the following methods to filter the data in the grid:
Click on a cell to enter edit mode. Control-click the cell and select Filter -> Field xxx Value from the pop-up menu to filter documents by the current value of the selected field.
You can also customize your filter in a more complicated way by clicking
from the toolbar. The Filter Wizard becomes visible at the top of the grid, where you can see the active filtering condition and easily enable or disable it by clicking a check box at the left.
Use the following methods to format the collection grid:
Highlight Cells based on Types
Grid View allows highlighting cells based on data types to make particular cells easy to identify. The Type Color pane is on the right side of the grid. If the grid window is docked to the Navicat main window, you can click the
icon in the Information pane to set the color.
To apply the color, click the
button on the toolbar or check the Enable Coloring option on the Type Color pane.
Expand/Collapse Embedded Documents
Grid View allows embedded documents to be expanded alongside other columns for easier data analysis. To expand or collapse an embedded document, just simply click on the cell with embedded document and click
or
, or control-click the cell and select Expand, Collapse or Collapse All Embedded Documents.
Expand Arrays
Grid View allows showing all elements in an array. To expand array elements, just simply click on the cell with array elements and click
, or control-click the cell with array elements and select Expand.
All array elements display on a new grid. You can view, add or delete the elements here. Click the collection name to jump back to the collection grid.
Move Columns
Click on the column header and hold down the left mouse button.
Move the pointer to the desired location.
Release the mouse and the column will move.
Set Column Width
Click right border at top of column and drag either left or right.
Double-click right border at top of column to obtain the best fit for the column.
Control-click the grid and select Set Column Width or select from the View menu. Specify width in the Set All Column Width dialog.
Hint: The result applies on all columns.
Set Row Height
Control-click anywhere on the collection grid and select Set Row Height or select from the View menu. Specify row height in the Set Row Height dialog.
Hint: This action applies on the current collection grid only.
Show/Hide Columns
If there are many columns in the collection and you want to hide some of them from the collection grid, just simply control-click anywhere on the collection grid and select Show/Hide Columns or select from the View menu. Select the columns that you would like to hide.
The hidden columns will disappear from the collection grid.
To unhide the columns, just simply control-click anywhere on the collection grid and select Show/Hide Columns or select from the View menu. Select the columns that you would like to redisplay.